package com.jiaying.sync.beans;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 短信号码表
 * @author bill
 *
 */
public class SmsMobilesForm {
	private long cidMg;//标识列(mongodb) 新版茧米
	private long idMg;  //标识列(mongodb) 新版茧米
	private long id;  //标识列
	private String clientMsgid;  //客户消息编号
	private String displayNum; //显示号码
	private String extNum; //扩展号
	private int gateway;// 网关

	private String mobile; //手机号码
	private int msgCount; //内容数量
	private String msgid; //服务消息编号
	private BigDecimal price; //单价(客户单条短信的单价)
	private int priority; //优先级 0-9
	private int resend; //重发 0未补发 1补发  2被补发
	private String result; //发送结果 1发送成功  0发送失败   ，-1表示第二天状态还没返回，null 2表示未知
	private Date sendTime; //发送时间
	private int status; //状态  -1拒接   0未审 1已审 2待发 3提交成功 4提交失败
	private String statusCode; //发送状态码
	private String statusCodeDesc; //发送状态码描述
	private String ucuid; //用户名
	private int eprId;  //企业id, 宽乐通信平台=0，企业短信平台〉0
	private long cid;//内容标识列
	private int mobileType;//号码类型，1联通，2移动，3电信，4未知
    private BigDecimal totalPrice;//短信总价  即（price x msgCount）
    private BigDecimal totalCost; //总成本 即（网关单条成本 x msgCount）
	private Date deliverdTime; //状态回执时间
	private String area;//归属地省

	private int ctxtype;//内容类型，0普通，1：验证码
	private Date addStatusTime; //回执时间个更新时间
	private int platform;//0:嘉盈企业 1：汇讯企业 2：嘉盈宽乐

	private int tempID; //模版ID
	private int contentType; //内容类型
	private int exFlag; //长短信异常标记
	private String city;//归属地城市
	private int taskId;//任务id
	private int custTempId;//客户模板id

	private String linkman; //联系人姓名
	private String newContent; //新内容

    private int resendMbType=0;//当前补发的mobileType()
    private int mpResend;//携号转网补发标记，1联通， 2移动，4电信， 3 联通+移动，5联通+电信，6移动+电信，7三网(携号转网用)
	private int msgLen;//短信字数
	private int hfType;//混发类型，0是普通短信，1视频短信扣费（客户知道），2视频短信扣费（客户不知道），3混发转普通
	private long onlyId;//唯一ID（用于关联其他数据）

	private String jsonContent=""; //content字段保存的一段json，用于存储扩展字段

	private int areaId;//区域id

	private String content;//新版茧米

	private long originalId;//原始ID
	private Date originalSendTime;//原始发送时间
	private long parentId;//上一条ID
	private Date parentIdSendTime;//上一条发送时间
	private int reSendTimes;//补发轮次
	private int resendMode;//补发模式,0:未补发,1:自动补发,2:手动补发,3:失败转未知

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public int getCustTempId() {
		return custTempId;
	}

	public void setCustTempId(int custTempId) {
		this.custTempId = custTempId;
	}
	public int getExFlag() {
		return exFlag;
	}

	public void setExFlag(int exFlag) {
		this.exFlag = exFlag;
	}

	public int getTempID() {
		return tempID;
	}

	public void setTempID(int tempID) {
		this.tempID = tempID;
	}

	public int getContentType() {
		return contentType;
	}

	public void setContentType(int contentType) {
		this.contentType = contentType;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public int getPlatform() {
		return platform;
	}

	public void setPlatform(int platform) {
		this.platform = platform;
	}

	public Date getAddStatusTime() {
		return addStatusTime;
	}

	public void setAddStatusTime(Date addStatusTime) {
		this.addStatusTime = addStatusTime;
	}

	public Date getDeliverdTime() {
		return deliverdTime;
	}

	public void setDeliverdTime(Date deliverdTime) {
		this.deliverdTime = deliverdTime;
	}

	public int getMobileType() {
		return mobileType;
	}

	public void setMobileType(int mobileType) {
		this.mobileType = mobileType;
	}

	public long getCid() {
		return cid;
	}

	public void setCid(long cid) {
		this.cid = cid;
	}
	public String getClientMsgid() {
		return clientMsgid;
	}
	public String getDisplayNum() {
		return displayNum;
	}
	public String getExtNum() {
		return extNum;
	}
	public int getGateway() {
		return gateway;
	}
	public long getId() {
		return id;
	}
	public String getMobile() {
		return mobile;
	}
	public int getMsgCount() {
		return msgCount;
	}
	public String getMsgid() {
		return msgid;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public int getPriority() {
		return priority;
	}
	public String getResult() {
		return result;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public int getStatus() {
		return status;
	}
	public String getStatusCode() {
		return statusCode;
	}
	public String getUcuid() {
		return ucuid;
	}
	public int getIsresend() {
		return resend;
	}
	public void setClientMsgid(String clientMsgid) {
		this.clientMsgid = clientMsgid;
	}
	public void setDisplayNum(String displayNum) {
		this.displayNum = displayNum;
	}
	public void setExtNum(String extNum) {
		this.extNum = extNum;
	}
	public void setGateway(int gateway) {
		this.gateway = gateway;
	}
	public void setId(long id) {
		this.id = id;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public void setMsgCount(int msgCount) {
		this.msgCount = msgCount;
	}
	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public void setPriority(int priority) {
		this.priority = priority;
	}
	public void setResend(int resend) {
		this.resend = resend;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}
	public void setUcuid(String ucuid) {
		this.ucuid = ucuid;
	}

	public int getEprId() {
		return eprId;
	}

	public void setEprId(int eprId) {
		this.eprId = eprId;
	}

	public int getResend() {
		return resend;
	}



	public BigDecimal getTotalPrice()
	{
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice)
	{
		this.totalPrice = totalPrice;
	}

	public BigDecimal getTotalCost()
	{
		return totalCost;
	}

	public void setTotalCost(BigDecimal totalCost)
	{
		this.totalCost = totalCost;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}


	public String getStatusCodeDesc() {
		return statusCodeDesc;
	}

	public void setStatusCodeDesc(String statusCodeDesc) {
		this.statusCodeDesc = statusCodeDesc;
	}

	public int getCtxtype() {
		return ctxtype;
	}

	public void setCtxtype(int ctxtype) {
		this.ctxtype = ctxtype;
	}

	public String getNewContent() {
		return newContent;
	}

	public void setNewContent(String newContent) {
		this.newContent = newContent;
	}

	public int getMsgLen() {
		return msgLen;
	}

	public void setMsgLen(int msgLen) {
		this.msgLen = msgLen;
	}

	public int getHfType() {
		return hfType;
	}

	public void setHfType(int hfType) {
		this.hfType = hfType;
	}

	public long getOnlyId() {
		return onlyId;
	}

	public void setOnlyId(long onlyId) {
		this.onlyId = onlyId;
	}

	public int getMpResend() {
		return mpResend;
	}

	public void setMpResend(int mpResend) {
		this.mpResend = mpResend;
	}

	public int getResendMbType() {
		return resendMbType;
	}

	public void setResendMbType(int resendMbType) {
		this.resendMbType = resendMbType;
	}

	public String getJsonContent() {
		return jsonContent;
	}

	public void setJsonContent(String jsonContent) {
		this.jsonContent = jsonContent;
	}

	public long getCidMg() {
		return cidMg;
	}

	public void setCidMg(long cidMg) {
		this.cidMg = cidMg;
	}

	public long getIdMg() {
		return idMg;
	}

	public void setIdMg(long idMg) {
		this.idMg = idMg;
	}

	public long getOriginalId() {
		return originalId;
	}

	public void setOriginalId(long originalId) {
		this.originalId = originalId;
	}

	public Date getOriginalSendTime() {
		return originalSendTime;
	}

	public void setOriginalSendTime(Date originalSendTime) {
		this.originalSendTime = originalSendTime;
	}

	public long getParentId() {
		return parentId;
	}

	public void setParentId(long parentId) {
		this.parentId = parentId;
	}

	public Date getParentIdSendTime() {
		return parentIdSendTime;
	}

	public void setParentIdSendTime(Date parentIdSendTime) {
		this.parentIdSendTime = parentIdSendTime;
	}

	public int getReSendTimes() {
		return reSendTimes;
	}

	public void setReSendTimes(int reSendTimes) {
		this.reSendTimes = reSendTimes;
	}

	public int getResendMode() {
		return resendMode;
	}

	public void setResendMode(int resendMode) {
		this.resendMode = resendMode;
	}
}
